package com.wyl.template.aop.annotation;

import com.wyl.template.enums.LoggerType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author wyl
 * @Auther: wyl
 * @Date: 2021/7/1
 * @Description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.TYPE})
public @interface SysLogger {

    String group() default "";

    String name() default "";

//    实体参数的位置,用于保存方法
    int entity() default 0;

    LoggerType type() default LoggerType.SELECT;
}
